<form name="form1" id="form1" action="" method="post" enctype="multipart/form-data">
<input type="hidden" name="itemID" value="" />
<input type="hidden" name="mode" value="" />
<input type="hidden" name="type" value="" />
<table width="100%" border="0" cellpadding="5" cellspacing="2">
  <tr>
     <td align="left" bgcolor="#FFFFCC">Link url :<br /><input onkeyup="uncheckInputText(this.id)" type="text" size="50" name="url" id="url" value="<?php echo $this->arrField['url'];?>" /></td>
   </tr>
   <input type="hidden" name="nameimage" value="<?php echo $this->tenFile; ?>" />
   <tr>
   	 <td valign="top" align="left" bgcolor="#FFFFCC">
	     <img src="<?php echo FunctionCommon::getImage('img-the-min', $this->tenFile);?>" />
   	     <br /><input onclick="frmSubmit('m=quangcao&a=edit<?php echo constants::$pathUrl;?>', '<?php echo $this->id; ?>', 'edit', 'delete')" type="button" name="delimage" id="delimage" value="Delete Image" style="cursor:pointer; color:#F00;" />
     </td>
   </tr>
   <tr>
   	 <td align="left" bgcolor="#FFFFCC">Hình ảnh :<br /><input type="file" name="code" id="code" size="50" />&nbsp;&nbsp;<input onclick="frmSubmit('m=quangcao&a=edit<?php echo constants::$pathUrl;?>', '<?php echo $this->id; ?>', 'edit', 'upload')" type="button" name="uphinh" value="Upload Image"></td>
   </tr>
   <tr>
     <td align="center" bgcolor="#FFFFCC"><input onclick="if (checkInputText('form1')) {frmSubmit('m=quangcao&a=edit<?php echo constants::$pathUrl;?>', '<?php echo $this->id; ?>', 'edit', 'edit');}" type="button" name="button" id="button" value="<?php echo $this->tpl_button;?>" class="button-submit" /></td>
   </tr>
</table>
</form>
<?php if ($this->dialog) :?>
<div id="allconfirm">
	<div id="popup-diet" class="ui-popup-diet ui-body-e ui-corner-all" style="top: 216px;">
	<p>Thông tin được update</p>
	<a href="#" onclick="window.location.assign('index.php?m=quangcao<?php echo constants::$pathUrl;?>')">OK</a>
	</div>
</div>
<?php endif;?>